CREATE TABLE [dbo].[TTAUXI_CORP]
(
[TI_AUXI_CORP] [dbo].[TD_VC_001] NOT NULL,
[NO_TIPO_AUXI] [dbo].[TD_VC_050] NOT NULL,
[NV_INFO_AUXI] [dbo].[TD_IN_001] NOT NULL CONSTRAINT [DF__TTAUXI_CO__NV_IN__1C873BEC] DEFAULT ((0)),
[NV_QUIE_AUXI] [dbo].[TD_VC_020] NOT NULL,
[ST_FILL] [dbo].[TD_VC_001_SINO] NOT NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTAUXI_CO__CO_US__1E6F845E] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTAUXI_CO__FE_US__1F63A897] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTAUXI_CO__CO_US__2057CCD0] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTAUXI_CO__FE_US__214BF109] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTAUXI_CORP] WITH NOCHECK ADD CONSTRAINT [CK__TTAUXI_CO__ST_FI__1D7B6025] CHECK NOT FOR REPLICATION (([ST_FILL]='N' OR [ST_FILL]='S'))
GO
ALTER TABLE [dbo].[TTAUXI_CORP] ADD CONSTRAINT [PK__TTAUXI_C__847D26793C54ED00] PRIMARY KEY CLUSTERED  ([TI_AUXI_CORP]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TTAUXI_CORP] TO [public]
GRANT INSERT ON  [dbo].[TTAUXI_CORP] TO [public]
GRANT DELETE ON  [dbo].[TTAUXI_CORP] TO [public]
GRANT UPDATE ON  [dbo].[TTAUXI_CORP] TO [public]
GO
